package com.nn.smart.bus.common.token.dto;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 *
 * 工作端用户登录信息
 *
 * @author nanning
 * @Date：2019/11/19 20:19
 */
@Data
public class WorkUserLoginDTO implements Serializable {
    private static final long serialVersionUID = 1905641243346550379L;

    @NotBlank(message="用户名不能为空")
    private String username;

    @NotBlank(message="密码不能为空")
    private String password;

    @NotBlank(message="微信code不能为空")
    private String wxCode;

    private String openId;
}
